import { IS_BROWSER } from "$fresh/runtime.ts";
import { useEffect } from "preact/hooks";

export default () => {
  useEffect(() => {
    if (IS_BROWSER) {
      alert(window.innerWidth);
    }
  });
  return <div></div>;
};
